import datetime


def Get_Time():
    Now_Time = datetime.datetime.now()
    Now_Time = datetime.datetime.strftime(Now_Time,'%Y %m %d %H %M %S')
    
    Hour = int(Now_Time[11:13])
    # Hour = 1
    Double_Hour = int(Hour/2)
    Mod_Double_Hour = Hour%2
    
    if Double_Hour == 11 and Mod_Double_Hour == 1:
        return 0
        
    Double_Hour = Double_Hour + (0.5 * Mod_Double_Hour)
    return Double_Hour

def Tian(Num):
    Tian_Dict = {
        0:'甲',
        1:'乙',
        2:'丙',
        3:'丁',
        4:'戊',
        5:'己',
        6:'庚',
        7:'辛',
        8:'壬',
        9:'癸',
    }
    return Tian_Dict(Num)

def Di(Num):
    Di_Dict = {
        0:'子',
        1:'丑',
        2:'寅',
        3:'卯',
        4:'辰',
        5:'巳',
        6:'午',
        7:'未',
        8:'申',
        9:'酉',
        10:'戌',
        11:'亥',
    }
    return Di_Dict(Num)

if __name__ == '__main__':
    
    Double_Hour = Get_Time()

    
    print(Double_Hour)
